package com.rener.portal.web.action;

import com.rener.portal.model.vo.User;
import com.rener.portal.service.ServiceTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestAction {
    @Autowired
    private ServiceTest serviceTest;
    @RequestMapping("/test")
    public @ResponseBody  User   test(){
        return serviceTest.test();
    }
}
